<?php if(!defined('BASEPATH')) exit('No direct script access allowed');
class M_uploadfoto extends CI_Model{ 

	var $tabel_name = 'master_user';

    function __construct() {
        parent::__construct();
    }

	public function save($url,$id_user){
	   
           
      $this->db->set('foto_pegawai',$url);
         
        $this->db->where('ID_USER',$id_user);
        $this->db->update('master_user');
		
		}
           
    }
